package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品标签对象 tb_shop_label
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class TbShopLabel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 标签名 */
    @Excel(name = "标签名")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String message;

    /** 必选 */
    @Excel(name = "必选")
    private Boolean isRequire;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sortIndex;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMessage(String message) 
    {
        this.message = message;
    }

    public String getMessage() 
    {
        return message;
    }
    public void setIsRequire(Boolean isRequire) 
    {
        this.isRequire = isRequire;
    }

    public Boolean getIsRequire() 
    {
        return isRequire;
    }
    public void setSortIndex(Integer sortIndex) 
    {
        this.sortIndex = sortIndex;
    }

    public Integer getSortIndex() 
    {
        return sortIndex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("message", getMessage())
            .append("isRequire", getIsRequire())
            .append("sortIndex", getSortIndex())
            .toString();
    }
}
